package mvp.com.bbc.rcjavaretrofitdaggermvp.mvp.carousel;


import mvp.com.bbc.rcjavaretrofitdaggermvp.app.utils.Util;
import mvp.com.bbc.rcjavaretrofitdaggermvp.baseAF.BaseViewPagerActivity;
import mvp.com.bbc.viewpagerlayoutmanager.CarouselLayoutManager;

/**
 * Created by Dajavu on 27/10/2017.
 */

public class CarouselLayoutActivity extends BaseViewPagerActivity<CarouselLayoutManager, CarouselPopUpWindow> {

    @Override
    protected CarouselLayoutManager createLayoutManager() {
        return new CarouselLayoutManager(Util.Dp2px(this, 100));
    }

    @Override
    protected CarouselPopUpWindow createSettingPopUpWindow() {
        return new CarouselPopUpWindow(this, getViewPagerLayoutManager(), getRecyclerView());
    }
}
